<link href="../addons/jy_weishop_en/resource/pc/css/member_login.css?v=6" rel="stylesheet" type="text/css"><link href="../core/resource/css/bootstrap.min.css" rel="stylesheet"><link href="../core/resource/css/style.css" rel="stylesheet">
<div class="header-wrap">
    <header class="public-head-layout wrapper">
        <h1 class="site-logo"><a href="javascript:;" ng-click="access_json('jy_weishop_en/index/')"><img src="{{tomedia(pagedata.pc_set.pc_logo) || '../addons/jy_weishop_en/resource/images/nologo.png'}}" class="pngFix"></a></h1>
        <div class="nc-regist-now">
                    <span class="avatar">
                        <img src="../addons/jy_weishop_en/resource/pc/images/default_user_portrait.gif">
                    </span>
            <span>Hi，Welcome to {{pagedata.pc_set.pc_title}}                        <br>
                       Also was not a member of this site? immediately<a title="" href="javascript:;" ng-click="access_json('jy_weishop_en/member.register/')">
                            Register</a>
                    </span>
        </div>
    </header>
</div>
<!-- PublicHeadLayout End -->
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="nc-login-layout">
    <div class="left-pic"><img src="../addons/jy_weishop_en/resource/pc/images/loginbg.png" border="0"></div>
    <div class="nc-login fui-page" style="width:440px">
        <div class="arrow"></div>
        <div class="nc-login-mode">
            <ul class="tabs-nav">
                <li><a href="javascript:;" ng-click="pagedata.post.login_type=1" ng-class="{'tabulous_active':pagedata.post.login_type!=2}">Username Log<i></i></a></li>				<li><a href="javascript:;" ng-click="pagedata.post.login_type=2" ng-class="{'tabulous_active':pagedata.post.login_type==2}">Mobile Log<i></i></a></li>            </ul>
            <div id="tabs_container" class="tabs-container" style="height: 269px;">                <div id="default" class="tabs-content" style="position: absolute; top: 0px;">	
                    <form id="login_form" class="nc-login-form" method="post" action="">                        <input type="hidden" name="formhash" value="GK3Bc-1B0yA42snAevpF7Zpv9EqwVim">                        												<input type="hidden" name="form_submit" value="ok">                        <input name="nchash" type="hidden" value="58181794">                        <dl ng-if="pagedata.post.login_type!=2">                            <dt>Username：</dt>                            <dd>                                <input type="text" class="text" name="name" id="name" placeholder="" ng-model="pagedata.post.name" />                                </dd>                        </dl>						<dl ng-if="pagedata.post.login_type==2">                            <dt>Mobile：</dt>                            <dd>                                <input type="tel" class="text" name="mobile" id="mobile" placeholder="" ng-model="pagedata.post.mobile"  maxlength="11" />                                </dd>                        </dl>                        <dl>                            <dt>Password：</dt>                            <dd>                                <input type="password" class="text"  name="pwd" id="pwd" ng-model="pagedata.post.pwd" placeholder="Please enter your login password" value="{{pagedata.post.pwd}}"/>
                            </dd>                        </dl>                        <div class="handle-div">                            <span class="auto"><input type="checkbox" class="checkbox" name="auto_login" value="1">Automatic login for seven days<em style="display: none;">Do not use on public computers</em></span>                            <a class="forget" href="javascript:;" ng-click="access_json('jy_weishop_en/member.forget/')">Forgot password？</a>                        </div>                        <div class="submit-div">                            <div class="submit" id="btnSubmit" href="javascript:" ng-click="post(pagedata.post,'main')" style="text-align: center;line-height: 42px;">Log In</div>
                            <!--<div ng-click="pagedata.wechat_login()" class="submit" style="text-align:center;line-height: 42px;margin-top:10px">A key to WeChat login</div>-->                        </div>                    </form>                </div>            </div>        </div>        <div class="nc-login-api" id="demo-form-site">        </div>    </div>    <div class="clear"></div></div>
<style>
    #footer{position:fixed;bottom:0px;}.jinyun-modal-dialog, .modal-dialog {    min-width: 320px!important;    position: absolute;    left: 0;    right: 0;    top: 30%;}
</style>
<div id="modal_login_ewm"  class="modal fade" tabindex="-1" style="z-index:99999;display:none">    <div class="modal-dialog" style="width:320px;">        <div class="modal-content">			<div class="modal-header"><button aria-hidden="true" data-dismiss="modal" class="close" type="button">×</button><h3></h3></div>				<div class="modal-body" style="padding:10px;">					<div id="login_ewm" style="width:150px;margin:0 auto"></div>					<div style="text-align:center">A key to scan the qr code to log in</div>				</div>		</div>	</div></div><script>scope.pagedata.wechat_login=function(){	var url=scope.tool.custom_url('core/member.login/sq_login/session_id='+scope.pagedata.session_id+'&forward_url='+scope.pagedata.forward_url,true);	scope.tool.qr(url,'login_ewm');	$('#modal_login_ewm').modal();	scope.tool.wechat_login(function(res){		if(res.to_uid==scope.pagedata.session_id && res.message && res.message.openid){			scope.pagedata.post.openid=res.message.openid;			scope.pagedata.post.forward='jy_weishop_en/member.index//current_plugin=jy_weishop_en';			$('#modal_login_ewm').modal('hide');			scope.post(scope.pagedata.post,'core/member.login/wechat_login/');		}	});}</script>